import java.util.ArrayList;
import java.util.List;

/**
 * 找到稳定山的下标
 *
 * @USER: Administrator
 * @DATE: 2024/9/27 下午11:39
 * @VERSION: 1.0.0
 */
public class LC3285 {
    public static void main(String[] args) {

    }

    public List<Integer> stableMountains(int[] height, int threshold) {
        List<Integer> result = new ArrayList<>();
        for (int i = 1; i < height.length; i++) {
            if (height[i-1]>threshold){
                result.add(i);
            }
        }

        return result;
    }
}
